#!/bin/sh
#chkconfig: 2345 80 05
#description: elasticsearch-head

export NODE_PATH={{node_base_path}}
export PATH=$PATH:$NODE_PATH/bin
ELH_PATH={{elasticsearch_head_path}}

cd ${ELH_PATH}
nohup npm run start > ./nohup.out 2>&1 &
